package com.xlf.pojo.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.xlf.pojo.mode.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 *
 * @TableName tag
 */
@TableName(value ="tag")
@Data
@Accessors(chain = true)
public class Tag extends BaseEntity implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 标签名字
     */
    private String name;

    /**
     * 标签颜色
     */
    private String color;

    /**
     *
     */
    private Integer status;

    /**
     * 标签来源
     */
    private String source;

    /**
     * 标签下的题目数量
     */
    @TableField(exist = false)
    private Integer problemNum;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
